package com.stormrage.edu.dao.learn;

import java.util.List;
import java.util.Map;

import com.stormrage.entity.excel.ExmOperExcel;
import com.stormrage.entity.excel.ExmUsuaExcel;
import com.stormrage.entity.learn.LeaBunch;
import com.stormrage.entity.learn.rep.LeaBunchRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface LeaBunchDao {

	public Integer create(LeaBunch arg0) throws StormrageTechException;

	public void update(LeaBunch arg0) throws StormrageTechException;

	public void delete(Map<String, Object> map) throws StormrageTechException;

	public void deleteByTermId(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCountByLock(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCountByTermEnt(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCountForApply(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCountForSingle(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCountForLearn(Map<String, Object> map) throws StormrageTechException;

	public LeaBunch queryById(Map<String, Object> map) throws StormrageTechException;

	public LeaBunchRep queryRepById(Map<String, Object> map) throws StormrageTechException;

	public List<LeaBunchRep> queryListByLock(Map<String, Object> map) throws StormrageTechException;

	public List<LeaBunchRep> queryListForApply(Map<String, Object> map) throws StormrageTechException;

	public List<LeaBunchRep> queryListForSingle(Map<String, Object> map) throws StormrageTechException;

	public List<LeaBunchRep> queryListForLearn(Map<String, Object> map) throws StormrageTechException;

	public List<LeaBunchRep> queryRepListForNotice(Map<String, Object> map) throws StormrageTechException;

	public List<ExmOperExcel> queryOperListForExcel(Map<String, Object> map) throws StormrageTechException;

	public List<ExmUsuaExcel> queryUsuaListForExcel(Map<String, Object> map) throws StormrageTechException;

}
